export default class DeviceDataChartOption {
    dataset = [
        {
            dimensions: [] as any,
            source: [] as any
        },
        {
            transform: {
                type: "sort",
                config: {
                    dimension: "",
                    order: "desc"
                }
            }
        }
    ]
    xAxis = {
        type: "time",
        // type: "category",
        name: "时间",
        min: null as any,
        max: null as any,
        axisLabel: {}
    }
    yAxis = {
        name: "值",
        min: null as any,
        max: null as any
    }
    series = [{
        type: "line",
        areaStyle: {
            opacity: 0.0
        },
        encode: null as any,
        datasetIndex: 0
    }]
    tooltip = {
        trigger: "axis"
    }
    title = {
        text: "图表"
    }
    grid = {
        left: "3%",
        right: "4%",
        bottom: "3%",
        containLabel: true
    }
    color = ["#3fb1e3"]
    constructor() {

    }
}